import {IAjaxParam,IRestrictParam,IResultEntity,IRequestSuccess} from "./types";
export * from "./localcache";
import * as Request from "./request";


export type AjaxParam<D = any> = IAjaxParam<D>;
export type RestrictParam<D = any> = IRestrictParam<D>;
export type ResultEntity<T = any> = IResultEntity<T>;
export type RequestSuccess<T = any> = IRequestSuccess<T>;

export const restrict = Request.restrict;
export default Request.request;